import request from '@/utils/request'


// 查询评价类型列表
export function selectProCommentCount(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectProCommentCount',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectBrandList(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectBrandList',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectChannelList(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectChannelList',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectShopList(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectShopList',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function auditResultThreeCommentS(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/auditResultThreeCommentS/'+query,
    method: 'get',
    // params: query
  })
}
// 查询评价类型列表
export function auditResultThreecommentsByDate(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/auditResultThreeCommentSByDate',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectProCommentList(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectProCommentList',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectProCommentType(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectProCommentType',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectProCommentRank(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectProCommentRank',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectNegativeCommentData(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectNegativeCommentData',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCategoryCommentData(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCategoryCommentData',
    method: 'get',
    params: query
  })
}

// 查询评价类型列表
export function selectCategoryNegativeSecond(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCategoryNegativeSecond',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCommentsCategoryStatistics(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCommentsCategoryStatistics',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCategoryCommentsDistribution(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCategoryCommentsDistribution',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectChannelCommentData(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectChannelCommentData',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCommentsChannelStatistics(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCommentsChannelStatistics',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectNegativeCommentSecond(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectNegativeCommentSecond',
    method: 'get',
    params: query
  })
}

// 查询评价类型列表
export function selectChannelCommentsDistribution(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectChannelCommentsDistribution',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCommentsDistributionOne(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCommentsDistributionOne',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectNegativeCommentsData(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectNegativeCommentsData',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCommentsStatistics(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCommentsStatistics',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function deleteImproperByDate(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/deleteImproperByDate',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function selectCommentData(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/selectCommentData',
    method: 'get',
    params: query
  })
}
// 查询评价类型列表
export function listBiCommentFirstDwd(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/list',
    method: 'get',
    params: query
  })
}
// 查询评价类型详细
export function getBiCommentFirstDwd(id) {
  return request({
    url: '/comment/BiCommentFirstDwd/' + id,
    method: 'get'
  })
}

// 新增评价类型
export function addBiCommentFirstDwd(data) {
  return request({
    url: '/comment/BiCommentFirstDwd',
    method: 'post',
    data: data
  })
}
// 新增评价类型
export function oneClickSetDataByDate(data) {
  return request({
    url: '/comment/BiCommentFirstDwd/oneClickSetDataByDate',
    method: 'post',
    params: data
  })
}
// 查询评价类型详细
export function updateDataset(id) {
  return request({
    url: '/comment/BiCommentFirstDwd/updateDataset/' + id,
    method: 'post'
  })
}
// // 新增评价类型
// export function updateDataset(data) {
//   return request({
//     url: '/comment/BiCommentFirstDwd/updateDataset',
//     method: 'post',
//     data: data
//   })
// }
// 修改评价类型
export function getCommentTypeByDate(query) {
  return request({
    url: '/comment/BiCommentFirstDwd/getCommentTypeByDate',
    method: 'put',
    params: query
  })
}
// 修改评价类型
export function updateBiCommentFirstDwd(data) {
  return request({
    url: '/comment/BiCommentFirstDwd',
    method: 'put',
    data: data
  })
}
// 修改评价类型
export function getCommentTypeByFirstId(data) {
  return request({
    url: '/comment/BiCommentFirstDwd/getCommentTypeByFirstId/'+data,
    method: 'put',
    // data: data
  })
}
// 删除评价类型
export function delBiCommentFirstDwd(id) {
  return request({
    url: '/comment/BiCommentFirstDwd/' + id,
    method: 'delete'
  })
}
